How to solve square root